package cdu.hjx.project.sys.mapper;
import cdu.hjx.project.pojo.Dict;
import cdu.hjx.project.pojo.DictDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DictDetailMapper {
    int addDictDetail(DictDetail dictDetail) throws Exception;
    DictDetail findDictDetail(@Param("dtype") String dtype,@Param("dtag") String dtag) throws Exception;
    // 根据类型查询字典信息
    List<DictDetail> findDictDetailByType(String dtype) throws Exception;
}